package com.woniuxy.meal.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增购物车")
public class AddCartForm {
    @NotNull
    private Long foodId;
    @NotNull
    @Min(value = 0)
    private Integer count;
}
